package com.regis.mapper;

import com.regis.entity.db.Employee;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.regis.entity.ro.EmployeeRo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
* @author 纱雾休比酱
* @description 针对表【employee(员工信息)】的数据库操作Mapper
* @createDate 2022-07-28 03:58:08
* @Entity com.regis.enity.Employee
*/
@Mapper
public interface EmployeeMapper extends BaseMapper<Employee> {

    @Select("SELECT id,name from employee where id = ${id}")
    EmployeeRo get(Long id);

}




